package com.tools.common.exception.service;

import com.tools.common.container.JsonPair;
import com.tools.common.object.Note;

/**
 * 参数校验不通过时抛出的运行时异常
 * */
@Note("参数校验不通过时抛出的运行时异常")
public class ValidException extends ServiceException {

    private static final long serialVersionUID = 7418857169146443615L;

    public ValidException(Throwable e) {
        super(e);
    }

    public ValidException(String errorMessage) {
        super(errorMessage);
    }

    public ValidException(JsonPair response) {
        super(response);
    }
}
